module breathing_running_led(Clk_50M, Rst_n, Led);

	input Clk_50M;
	input Rst_n;
	
	output reg[7:0] Led;
	
	reg[6:0] Pwm;
	reg[23:0] Counter;
	
	always @(posedge Clk_50M or negedge Rst_n) begin
		
		if(Rst_n == 1'b0) begin
			Led <= 8'b0000_0001;
			Pwm <= 7'd1;
			Counter <= 24'd0;
		end
		else begin
			if(Counter == 24'd2499999) begin
				Counter <= 24'd0;
				
				if(Led == 8'b1000_0000) begin
					Led <= 8'b0000_0001;
				end
				else begin
					Led <= Led << 1;
				end
			end
			else begin
				Counter <= Counter + 1;
			end
		end
		
	end

endmodule
